home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5839 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: erich.triumf.ca!bennett
  2. From: bennett@erich.triumf.ca (P.Bennett)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Help on programing the rs232
  5. Date: 20 Feb 1996 22:38 PST
  6. Organization: TRIUMF: Tri-University Meson Facility
  7. Distribution: world
  8. Message-ID: <20FEB199622381526@erich.triumf.ca>
  9. References: <4gbtrh$pr5@news1.wolfe.net>
  10. NNTP-Posting-Host: erich.triumf.ca
  11. News-Software: VAX/VMS VNEWS 1.50    
  12.  
  13. In article <4gbtrh$pr5@news1.wolfe.net>, razor5@wolfe.net (Jason Thompson) writes...
  14. >could anyone give me an example on how to open the comports with the 
  15. >int86 functions of a speed greater then 9600.  I used ralphs interupt 
  16. >list and tried it but it did not work.
  17. by reading between the lines, I suspect that you are doing this under MS-DOS -
  18. if so, you should ask in a newsgroup dedicated to MS-DOS, such as
  19. comp.os.msdos.programmer, since the C language doens't know about MS-DOS
  20. interrupts, or PC com ports.
  21.  
  22. Also (or first) try to find the FAQ for that group, probably available by
  23. anonymous ftp from rtfm.mit.edu.
  24.  
  25. You may have to directly attack the UART baud rate divisor registers to get
  26. speeds above 9600.
  27.  
  28.  
  29. Peter Bennett VE7CEI                | Vessels shall be deemed to be in sight
  30. Internet: bennett@triumf.ca         | of one another only when one can be
  31. Packet: ve7cei@ve7kit.#vanc.bc.ca   | observed visually from the other
  32. TRIUMF, Vancouver, B.C., Canada     |                          ColRegs 3(k)
  33. GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
  34.  
  35.